package com.rolerealm.service.impl;

import com.rolerealm.service.SpeechRecognitionService;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;

@Slf4j
@Service
@RequiredArgsConstructor
public class MockSpeechRecognitionServiceImpl implements SpeechRecognitionService {

    @Override
    public String recognize(MultipartFile file, Long userId) {
        log.debug("Mock STT recognize, userId: {}, file: {}", userId, file != null ? file.getOriginalFilename() : "null");
        return "recognized text";
    }
}


